import request from '@/utils/request'
export default {
  PLSDAScorePlot(formdata) {
    return request({
      url: `/api/plsda/getPLSDAScorePlot`,
      method: 'post',
      data: formdata
    })
  },

  OrthogonalPLSDAScorePlot(formdata) {
    return request({
      url: `/api/plsda/getOrthogonalPLSDAScorePlot`,
      method: 'post',
      data: formdata
    })
  },

  PLSRScorePlot(formdata) {
    return request({
      url: `/api/plsda/getPLSRScorePlot`,
      method: 'post',
      data: formdata
    })
  },

  PLSDAScreePlot(formdata) {
    return request({
      url: `/api/plsda/getPLSDAScreePlot`,
      method: 'post',
      data: formdata
    })
  },

  PLSDACvPlot(formdata) {
    return request({
      url: `/api/plsda/getPLSDACvPlot`,
      method: 'post',
      data: formdata
    })
  },

  PLSDAOutlier(formdata) {
    return request({
      url: `/api/plsda/getPLSDAOutlier`,
      method: 'post',
      data: formdata
    })
  },

  PLSDAPermutationTest(formdata) {
    return request({
      url: `/api/plsda/getPLSDAPermutationTest`,
      method: 'post',
      data: formdata
    })
  },

  PLSDAPermutationTestPlot(formdata) {
    return request({
      url: `/api/plsda/getPLSDAPermutationTestPlot`,
      method: 'post',
      data: formdata
    })
  },
}
